how to evaluate the expression